<?php

class basketWidgetComponents extends myComponents{

	public function executeWidget(){
          $this->totalItems = myBasket::getInstance(myBasket::SESSION_BASED)->countItems();
          $this->basketNode =
            Doctrine::getTable('Structure')
                    ->findOneByParameterAndLang('basket', $this->getRoute()->getObject()->getLang());

          $bg = Doctrine::getTable('BannerGroup')->getBannersByType('banks');
          $this->bankBanners = $bg[0]['Banners'];
	}

	public function executeRender(){}
	
}